package com.mdh.android.vm.webview;

import android.webkit.WebView;
import android.webkit.WebViewClient;

public class webNotify extends WebViewClient {
    HtmlActivity myview = null;

    public void SetActivity(HtmlActivity tmp) {
	myview = tmp;

    }

    @Override
    public void onPageFinished(WebView view, String url) {
	myview.setVisible(true);
	myview.dismissDialog();

	super.onPageFinished(view, url);
    }

    @Override
    public boolean shouldOverrideUrlLoading(WebView view, String url) {
	view.loadUrl(url);
	return true;
    }

}